class Person < Party
  has_many  :users
  
  validates_presence_of :first_name, :last_name
  validates_uniqueness_of :email
  
  def before_save
    self.name = first_name + " " + last_name
  end
end